package com.atguigu.java1;

import org.junit.Test;

import java.util.List;

/**
 * @author : leimingchao
 * @date Date : 2021年10月07日 22:13
 */
public class DAOTest {

    @Test
    public void test1() {

        CustomerDAO customerDAO = new CustomerDAO();
        customerDAO.add(new Customer());
        List<Customer> list = customerDAO.getForList(10);


        StudentDAO studentDAO = new StudentDAO();
        Student student = studentDAO.getIndex(1);
    }
}
